home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / sol2-4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  1.1 KB  |  41 lines

  1. /* Synched up with: FSF 19.29. */
  2.  
  3. /* Handle Solaris 2.4.  */
  4.  
  5. #include "sol2-3.h"
  6.  
  7. #define SOLARIS2_4
  8.  
  9. #if 0 /* FSFmacs */
  10.  
  11. /* Get rid of -traditional and let const really do its thing.  */
  12.  
  13. #ifdef __GNUC__
  14. #undef C_SWITCH_SYSTEM
  15. #undef const
  16. #endif /* __GNUC__ */
  17. #endif /* 0 */
  18.  
  19. #undef LD_SWITCH_SYSTEM
  20. #ifndef __GNUC__
  21. #define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/dt/lib -L /usr/dt/lib
  22. #else /* GCC */
  23. /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
  24.    has anything in it.  It can be empty.
  25.    This works ok in src.  Luckily lib-src does not use LD_SWITCH_SYSTEM.  */
  26. #define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
  27.  `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/dt/lib -L /usr/dt/lib
  28. #endif /* GCC */
  29.  
  30. /* XEmacs addition: Raymond Toy says XEmacs completely misses SIGCHLD
  31.    when compiled with GCC 2.7.0 (but not, apparently, with SunPro C?),
  32.    X11R6, and Solaris 2.4.
  33.  
  34.    Someone else submitted a simple test program that duplicates this
  35.    behavior, and says it has something to do with the fact that X11R6
  36.    links with the threads library. */
  37.  
  38. #ifdef THIS_IS_X11R6
  39. #define BROKEN_SIGCHLD
  40. #endif
  41.